package com.group.project.hrms.controller;


import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.group.project.hrms.entity.*;
import com.group.project.hrms.entity.DingResultEntity.DingLeaveStaffDetailsEntity;
import com.group.project.hrms.service.*;
import com.group.project.hrms.utils.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.client.RestTemplate;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;

@Slf4j
@Controller
public class TestController {


    @Autowired
    private RestTemplate restTemplate;

    @Autowired
    private DingAccessUtils dingAccessUtils;

    @Autowired
    private IContactBasicService iContactBasicService;

    @Autowired
    private BasicInfoUtil basicInfoUtil;

    @Autowired
    private IContactBasicDeptInfoService iContactBasicDeptInfoService;

    @Autowired
    private IDingClockRecordService iDingClockRecordService;

    @Autowired
    private IDingLeaveRecordService iDingLeaveRecordService;

    @Autowired
    private IHolidayRecordService iHolidayRecordService;

    @Autowired
    private AttendanceUtil attendanceUtil;

    @Autowired
    private DateUtil dateUtil;

    @Autowired
    private IRestTimeSettingsService iRestTimeSettingsService;

    @Autowired
    private ICheckPointInfoService iCheckPointInfoService;

    @Autowired
    private IAttendanceShiftInfoService iAttendanceShiftInfoService;

    @Autowired
    private IAttendanceGroupStaffAdjustRecordService iAttendanceGroupStaffAdjustRecordService;

    @Autowired
    private IAttendanceMonthlyReportService iAttendanceMonthlyReportService;

    @Autowired
    private IDingVacationTypeService iDingVacationTypeService;

    @Autowired
    private IContactArchivesWorkingService iContactArchivesWorkingService;

    @Autowired
    private ISpecialCheckDateService iSpecialCheckDateService;




    @RequestMapping("/doTest")
    @ResponseBody
    public String doTest() throws Exception {



        return "恭喜发财";
    }

}
